package com.sfac.springBoot.module.account.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sfac.springBoot.module.account.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * personal demo
 **/


@Mapper
@Repository
public interface UserDao extends BaseMapper<User> {


    @Select("select* from account_user where user_name=#{name} ")
    User selectUserByName(String name);
}
